/**
 * 
 */
package org.bamboo.easyejb.demo.weather.ejb;

import javax.ejb.EJBLocalObject;

import org.bamboo.easyejb.demo.weather.model.CityNotFoundException;
import org.bamboo.easyejb.demo.weather.model.WeatherInfo;


/**
 * Remote interface for WetherReport. 
 * @author Raymond KK He, Guangzhou China
 * Nov 26, 2008
 *
 */
public interface WetherReport extends EJBLocalObject {
	/**
	 * get today's weather info by city,  weather and temperature.
	 * @param city
	 * @return
	 * @throws Exception
	 */
	public WeatherInfo getWeatherInfo(String city) throws CityNotFoundException;
}
